The C Programming Language

نویسندگان

  • Brian W. Kernighan
  • Dennis Ritchie
چکیده

For Your Amusement " C is quirky, flawed, and an enormous success. While accidents of history surely helped, it evidently satisfied a need for a system implementation language efficient enough to displace assembly language, yet sufficiently abstract and fluent to describe algorithms and interactions in a wide variety of environments. "-Dennis Ritchie 2 Goals of this Lecture Help you learn about: • The decisions that were made by the designers* of C • Why they made those decisions … and thereby… • The fundamentals of C Why? • Learning the design rationale of the C language provides a richer understanding of C itself • A power programmer knows both the programming language and its design rationale * Dennis Ritchie, then later, members of standardization committees 3 Historical context-1972 Operating systems were programmed in assembly language (i.e., in machine instructions) [Efficient; expressive; easy to translate to machine language; but not portable from one computer instruction set to another; hard to write programs, hard to debug, maintain…] Application programs were in " high-level " languages such as Need: ease of programming, (reasonable) expressiveness, structured programming, data structures, modularity, compilable on a 64-kilobyte computer Program operating-systems in a " high-level " language Don't even attempt: safety When possible, have a bit of: portability Goals for Java language-1995 It's not that Java was particularly innovative (in these respects). By 1995, decades of computer-science research had made it straightforward to achieve all these goals at once. In 1972, nobody knew how.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Developing a software for simulation of gaseous detectors with Monte carlo method in c++ programming language

In this paper we consider a gaseous detector and supposed, because of pass of an ionizing radiation, an electron created inside it. By numerical simulation with monte carlo method and concluding the impacts, scatterings and creation of secondary electrons, we find the trajectory of initial and secondary electrons. Dependence of number of secondary electrons to applied electrical field is invest...

متن کامل

Development of a goal programming model for optimization of truck allocation in open pit mines

Truck and shovel operations comprise approximately 60% of the total operating costs in open pit mines. In order to increase productivity and reduce the cost of mining operations, it is essential to manage the equipment used with high efficiency. In this work, the chance-constrained goal programing (CCGP) model presented by Michalakopoulos and Panagiotou is developed to determine an optimal truc...

متن کامل

A Microcomputer-Based Simulator for Digital Control Systems

A microcomputer-based simulator for digital control systems is proposed. The proposed simulator is a hybrid system in which the plant is simulated by conventional method of analog computers and other parts of the system including generation of input signal is performed digitally, using a Z-80 based microcomputer. To overcome the difficulty of programming in assembly language, and at the same ti...

متن کامل

A programming method to estimate proximate parameters of coal beds from well-logging data using a sequential solving of linear equation systems

This paper presents an innovative solution for estimating the proximate parameters of coal beds from the well-logs. To implement the solution, the C# programming language was used. The data from four exploratory boreholes was used in a case study to express the method and determine its accuracy. Then two boreholes were selected as the reference, namely the boreholes with available well-logging ...

متن کامل

Universal Grammar and Chaos/Complexity Theory: Where Do They Meet And Where Do They Cross?

  Abstract The present study begins by sketching "Chaos/Complexity Theory" (C/CT) and its applica-tion to the nature of language and language acquisition. Then, the theory of "Universal Grammar" (UG) is explicated with an eye to C/CT. Firstly, it is revealed that CCT may or may not be allied with a theory of language acquisition that takes UG as the initial state of language acquisition for ...

متن کامل

A Survey on Different Solution Concepts in Multiobjective Linear Programming Problems with Interval Coefficients

Optimization problems have dedicated a branch of research to themselves for a long time ago. In this field, multiobjective programming has special importance. Since in most real-world multiobjective programming problems the possibility of determining the coefficients certainly is not existed, multiobjective linear programming problems with interval coefficients are investigated in this paper. C...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1978